xen: arm: allow platform code to select dom0 event channel irq
authorIan Campbell <ian.campbell@citrix.com>
Wed, 20 Nov 2013 13:40:48 +0000 (13:40 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 29 Nov 2013 09:26:06 +0000 (09:26 +0000)
commit12bd2da41ed45892dca43cd21e9220319d22b984
tree94fd1e3f911cb097b2c384fd6bfd3faa86e5b4ad
parentd8959f533cdb4ceb228ab846eb327828d99cd979
xen: arm: allow platform code to select dom0 event channel irq

Currently the hardcoded use of GUEST_EVTCHN_PPI is problematic if that is a
real PPI on the platform.

We really need to be smarter about selecting an unused PPI but in the meantime
we can at least give the platform code the option of hardcoding a number which
works for the platform.

Hardcode a suitable PPI on the Xgene platform.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/domain.c
xen/arch/arm/platform.c
xen/arch/arm/platforms/xgene-storm.c
xen/include/asm-arm/platform.h